package com.tomehay.termprojectmanage_server.pojo.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tomehay.termprojectmanage_server.pojo.Model.Allocation;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class StudentVO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String password;

    private String name;

    private String email;

    private String studentNo;

    private String clazzId;

    private Integer isLeader;

    private List<AllocationVO> allocationVOS = new ArrayList<>();

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
